package tt.dz.appserver.service.business;

import tt.dz.appserver.entity.model.ResultMappingEntity;


/**
 * 桩友圈业务
 * @author xlf
 *
 */
public interface ShareService {

	/**
	 * 桩友圈列表信息
	 * 
	 * @param pageNo
	 * @return
	 */
	public ResultMappingEntity shares(String userId, int pageNo);
	
	/**
	 * 桩友圈详细信息
	 * @param shareId
	 * @return
	 */
	public ResultMappingEntity sharesDetail(String shareId);

	/**
	 * 发表分享
	 * 
	 * @param userId
	 * @param content
	 * @param shareAddress
	 * @param areaCode
	 * @return
	 */
	public ResultMappingEntity releaseShares(String userId, String content, String shareAddress, String areaCode,
			String smallImage[], String middleImage[], String bigImage[]);
	
	/**
	 * 删除桩友圈信息
	 * @return
	 */
	public ResultMappingEntity deleteShares(String shareId);
	
	/**
	 * 桩友圈点赞
	 * @param userId
	 * @param shareId
	 * @return
	 */
	public ResultMappingEntity shareThumbUp(String userId, String shareId);
	
	/**
	 * 桩友圈评论
	 * @param userId
	 * @param shareId
	 * @param replayUserId
	 * @param content
	 * @param commentAddr
	 * @return
	 */
	public ResultMappingEntity shareComment(String userId, String shareId, String replyUserId, String content, String commentAddr);
	
	/**
	 * 获取推荐标签
	 * @return
	 */
	public ResultMappingEntity getRecommendLabel();
	
	/**
	 * 获取所有标签
	 * @return
	 */
	public ResultMappingEntity getAllLabel();
	
}
